#ifndef SLAVEMGM_HAL_H_
#define SLAVEMGM_HAL_H_

#include "hal/platform_defines.h"
#include "hcpp/ptp2_slave.h"

void slavemgm_hal_slave_table_set_entry         (ptp2_slave_t *slave);
void slavemgm_hal_slave_table_clean_entry       (uint16_t pos);
void slavemgm_hal_slave_table_cleanup           (void);

void slavemgm_hal_lut_set_lut                   (ptp2_lut_entry_t lut[], uint16_t idx_sort_lut[], uint16_t size);
void slavemgm_hal_lut_cleanup                   (void);

void test_slavemgm_hal_rates                    (void);
uint32_t slavemgm_hal_get_lut_no                ( void );

#endif /*SLAVEMGM_HAL_H_*/
